/*
* @Author: wanghongfucoder
* @Date:   2017-04-01 09:54:06
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-04-01 09:59:40
*/

public  class BusinessLookUp   {
	public BusinessService getBusinessService(String serviceType){
		if (serviceType.equalsIgnoreCase("EJB")) {
			return new EJBService();
		}else{
			return new JMSService();
		}
	}
}